package com.plz.afmt.transfer;

import com.plz.afmt.entity.QuestionAnswerEntity;
import com.plz.afmt.vo.QuestionAnswerVo;
import com.plz.afmt.dto.QuestionAnswerDto;
import com.plz.web.base.vo.PagerResult;
import org.mapstruct.Mapper;
import java.util.List;

/**
*
* @author jzc
*/
@Mapper(componentModel = "spring")
public interface QuestionAnswerTransfer {
    QuestionAnswerVo po2vo(QuestionAnswerEntity po);
    PagerResult<QuestionAnswerVo> pagePo2PageVo(PagerResult<QuestionAnswerEntity> pos);
    List<QuestionAnswerVo> listPo2listVo(List<QuestionAnswerEntity> pos);
    List<QuestionAnswerEntity> listDto2listPo(List<QuestionAnswerDto> pos);
}
